package com.i360day.redis.properties;

/**
 * @description: 重复提交配置
 * @author: liju.z
 * @create: 2020-06-01 13:41
 **/
public class GlobalRepeatSubmitProperties {
    /**
     * <p> @Author liju.z <p>
     *
     * <p> @Description 限制次数 <p>
     *
     * <p> @Date  16:52 <p>
     *
     * <p> @Param [] <p>
     *
     * <p> @return [] <p>
     **/
    private int limitCount = 10;
    /**
     * <p> @Author liju.z <p>
     *
     * <p> @Description 限制多少秒内不能访问 (单位秒)<p>
     *
     * <p> @Date  16:55 <p>
     *
     * <p> @Param [] <p>
     *
     * <p> @return [] <p>
     **/
    private int time = 1;
    /**
     * <p> @Author liju.z <p>
     *
     * <p> @Description 错误描述 <p>
     *
     * <p> @Date  10:55 <p>
     *
     * <p> @Param [] <p>
     *
     * <p> @return [] <p>
     **/
    private String errorMsg = "你的操作过于频繁，请稍后再试。";
    /**
     * <p> @Author liju.z <p>
     *
     * <p> @Description //TODO 返回删除 <p>
     *
     * <p> @Date  10:48 <p>
     *
     * <p> @Param [] <p>
     *
     * <p> @return [] <p>
     **/
    private Boolean afterReturningDelete = false;

    /**
     * <p> @Author liju.z <p>
     *
     * <p> @Description 切入点 <p>
     *
     * <p> @Date  13:03 <p>
     *
     * <p> @Param  <p>
     *
     * <p> @return  <p>
     **/
    private String pointcut;

    public int getLimitCount() {
        return limitCount;
    }

    public void setLimitCount(int limitCount) {
        this.limitCount = limitCount;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Boolean getAfterReturningDelete() {
        return afterReturningDelete;
    }

    public void setAfterReturningDelete(Boolean afterReturningDelete) {
        this.afterReturningDelete = afterReturningDelete;
    }

    public String getPointcut() {
        return pointcut;
    }

    public void setPointcut(String pointcut) {
        this.pointcut = pointcut;
    }
}
